mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
supports user defined extra http request headers
This commit is contained in:
parent
b0147c8c85
commit
0d9d30d783
15 changed files with 62 additions and 35 deletions
|
@ -52,7 +52,11 @@
|
|||
<p>Any ".search" file can be opened as search engine file, each line of which has one of the following formats:<br>
|
||||
[Engine name]:[url without '%s' inside]<br>
|
||||
[Engine name]:[url with '%s' as keyword]<br>
|
||||
[Engine name]:POST:[post params with '%s' as keyword]:[url]</p>
|
||||
[Engine name]:POST:[post params with '%s' as keyword]:[url]<br>
|
||||
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]</p>
|
||||
<ul>
|
||||
<li>[Extra request headers] Ex. "X-Forwarded-For;8.8.8.8"</li>
|
||||
</ul>
|
||||
<p>Limitations (they are here for performance reasons):</p>
|
||||
<ul>
|
||||
<li>The first engine in the file must be the first type that has no '%s' in the engine url.</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue