mirror of https://github.com/searx/searx
Deploying to gh-pages from @ cdceec1cbb
🚀
This commit is contained in:
parent
70de81ab6f
commit
30c62e66b8
|
@ -134,9 +134,9 @@ The function ``def request(query, params):`` always returns the ``params``
|
|||
variable. Inside searx, the following paramters can be used to specify a search
|
||||
request:
|
||||
|
||||
================== =========== ========================================================================
|
||||
================== =========== ==========================================================================
|
||||
argument type information
|
||||
================== =========== ========================================================================
|
||||
================== =========== ==========================================================================
|
||||
url string requested url
|
||||
method string HTTP request method
|
||||
headers set HTTP header information
|
||||
|
@ -145,7 +145,8 @@ cookies set HTTP cookies
|
|||
verify boolean Performing SSL-Validity check
|
||||
max_redirects int maximum redirects, hard limit
|
||||
soft_max_redirects int maximum redirects, soft limit. Record an error but don't stop the engine
|
||||
================== =========== ========================================================================
|
||||
raise_for_status bool True by default: raise an exception if the HTTP code of response is >= 300
|
||||
================== =========== ==========================================================================
|
||||
|
||||
|
||||
example code
|
||||
|
|
|
@ -308,9 +308,9 @@ variable. Inside searx, the following paramters can be used to specify a search
|
|||
request:</p>
|
||||
<table class="docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 18%" />
|
||||
<col style="width: 17%" />
|
||||
<col style="width: 11%" />
|
||||
<col style="width: 71%" />
|
||||
<col style="width: 72%" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr class="row-odd"><th class="head"><p>argument</p></th>
|
||||
|
@ -351,6 +351,10 @@ request:</p>
|
|||
<td><p>int</p></td>
|
||||
<td><p>maximum redirects, soft limit. Record an error but don’t stop the engine</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p>raise_for_status</p></td>
|
||||
<td><p>bool</p></td>
|
||||
<td><p>True by default: raise an exception if the HTTP code of response is >= 300</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue