mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-23 16:45:44 +01:00
If no Accept header field is present, then it is assumed that the client accepts all media types.
This commit is contained in:
parent
13f0d5ce00
commit
38dc82e13e
1 changed files with 0 additions and 1 deletions
|
|
@ -941,7 +941,6 @@ def __setHTTPExtraHeaders():
|
|||
if header and value:
|
||||
conf.httpHeaders.append((header, value))
|
||||
elif not conf.httpHeaders or len(conf.httpHeaders) == 1:
|
||||
conf.httpHeaders.append(("Accept", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"))
|
||||
conf.httpHeaders.append(("Accept-Language", "en-us,en;q=0.5"))
|
||||
conf.httpHeaders.append(("Accept-Charset", "ISO-8859-15,utf-8;q=0.7,*;q=0.7"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue