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
Describe the bug
When setting cookies in a request it doesn't seem they are actually sent to the server.
Code Sample
If applicable, add a small sample code that illustrates the error.
To verify this I run a simple http server with python:
python3 -m http.server
and tried to make a GET request with a sample cookie attached.
skrape(HttpFetcher) {
request {
url ="http://127.0.01:8000"
cookies =mapOf("mycookie" to "myvalue")
}
response {
}
}
Expected behavior
A clear and concise description of what you expected to happen.
I expected cookies to be put into a Cookie header and sent to the server.
Additional context
Unfortunately there was no Cookie header in the request.
Describe the bug
When setting cookies in a request it doesn't seem they are actually sent to the server.
Code Sample
If applicable, add a small sample code that illustrates the error.
To verify this I run a simple http server with python:
and tried to make a
GET
request with a sample cookie attached.Expected behavior
A clear and concise description of what you expected to happen.
I expected cookies to be put into a
Cookie
header and sent to the server.Additional context
Unfortunately there was no
Cookie
header in the request.Gradle dependency:
implementation("it.skrape:skrapeit:1.1.5")
The text was updated successfully, but these errors were encountered: