I'm using HttpCrawler from Crawlee doing

I'm using HttpCrawler from Crawlee doing a PUT request. I get the following error: Error: Resource served Content-Type application/octet-stream, but only text/html, text/xml, application/xhtml+xml, application/xml, application/json are allowed. Any possibility of allowing application/octet-stream or are PUT not possible? EDIT: Found it I had set a header to only accept json. Removing that header of the request solved the issue.
1 Reply
memo23
memo233w ago
add additionalMimeTypes: ['application/octet-stream'] or ['*/*']

Did you find this page helpful?