You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two functions give different responses, the only difference being the req.Header.Set("Accept", "*/*") line. I need the response that I get when the Accept isn't passed.
The good response: ["Ok",{"results":[{"url":"https://apps.apple.com/us/app/youtube-watch-listen-stream/id544007664","title":"YouTube: Watch, Liste....
The bad response: ["Ok",{"results":[{"url":"https://www.commonsensemedia.org/website-reviews/youtube","title":"YouTube Website Review | Co...
The text was updated successfully, but these errors were encountered:
From
colly.go
:I need to send a request with no headers, but colly automatically inserts "Accept: */*" AFTER the OnRequest call. So I don't know how to affect it.
Example why I need to do this:
The two functions give different responses, the only difference being the
req.Header.Set("Accept", "*/*")
line. I need the response that I get when theAccept
isn't passed.The good response:
["Ok",{"results":[{"url":"https://apps.apple.com/us/app/youtube-watch-listen-stream/id544007664","title":"YouTube: Watch, Liste....
The bad response:
["Ok",{"results":[{"url":"https://www.commonsensemedia.org/website-reviews/youtube","title":"YouTube Website Review | Co...
The text was updated successfully, but these errors were encountered: