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
When the Content-Type header is set to application/json on a mirror update via API (no matter if async or not), the API throws HTTP 400 and {"error":"EOF"}.
Probably it is a silly question...
But do we actually need to provide header Content-Type since on mirror update we are not uploading any files? I can confirm that without setting Content-Type mirrors can be successfully updated.
Detailed Description
When the
Content-Type
header is set toapplication/json
on a mirror update via API (no matter if async or not), the API throws HTTP 400 and{"error":"EOF"}
.Context
I tried to update a mirror via API with a generic method which sets the
Content-Type
toapplication/json
by default.Your Environment
The text was updated successfully, but these errors were encountered: