Not getting all headers added on upload (i.e. content-length) #1160
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using this control, I am seeing the request but it looks to be missing headers (like content-length) so its getting rejected by my microservice.
The setup is:
The request looks like this:
What am I doing wrong?
Ok just to circle back, the missing headers was a bit of a red herring.
After a lot of debugging and trial and error I realised if I commented out this method below it worked:
I then found this issue https://github.com/nathanboktae/q-xhr/issues/12 which may or may not be related but it gave me something to work with.
In the end this code worked (and correct CORS setup, which I had already):