delete content headers
parent
71b97b6a38
commit
12bcaea03f
|
@ -47,6 +47,8 @@ class Mechanize
|
||||||
|
|
||||||
# fetch the page
|
# fetch the page
|
||||||
page = @agent.fetch(uri, :post, headers: headers, params: {"value" => request_data })#, cur_page
|
page = @agent.fetch(uri, :post, headers: headers, params: {"value" => request_data })#, cur_page
|
||||||
|
headers.delete("Content-Type")
|
||||||
|
headers.delete("Content-Length")
|
||||||
#add_to_history(page)
|
#add_to_history(page)
|
||||||
page
|
page
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue