enhance user defined extra http request headers

This commit is contained in:
James Feng Cao 2023-03-04 09:43:13 +08:00
parent 0d9d30d783
commit 457e012713
8 changed files with 13 additions and 23 deletions

View file

@ -242,8 +242,7 @@ If a new button is defined (file name "20" exists), uweb also
[Engine name]:[url with '%s' as keyword]
[Engine name]:POST:[post params with '%s' as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]
[Extra request headers] Ex. "X-Forwarded-For;8.8.8.8" Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>

View file

@ -375,8 +375,7 @@ If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also
[Engine name]:[url with &#39;%s&#39; as keyword]
[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>

View file

@ -56,6 +56,7 @@
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]</p>
<ul>
<li>[Extra request headers] Ex. &quot;X-Forwarded-For;8.8.8.8&quot;</li>
<li>when [post params] is empty, the url should have '%s' as keyword. Ex. <a href="../search/index.html">bingUS engine w/ chatgpt</a></li>
</ul>
<p>Limitations (they are here for performance reasons):</p>
<ul>

View file

@ -17,8 +17,7 @@
[Engine name]:[url with &#39;%s&#39; as keyword]
[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
</channel>