cancel
Showing results for 
Search instead for 
Did you mean: 

Triggered Task with Accept: application/octet-stream header

Henchway
Contributor

Hi all,

currently i have the issue that I need to provide some data to an external import service (Jira Cloud Assets), which sends Accept: application/octet-stream in the headers, which is not accepted by Snaplogic.

Snaplogic responds with 406 NOT ACCEPTABLE. Is there any way to allow that header? 

Best regards
Thomas

1 ACCEPTED SOLUTION

Henchway
Contributor

Alright, got it working. Instead of sending back Content-Type: application/octet-stream, I had to lower-case to "content-type", the caller is now accepting the response.

I was thinking that it's an issue with the server not being able to serve application/octet-stream at all, but i was mistaken.

BR

View solution in original post

1 REPLY 1

Henchway
Contributor

Alright, got it working. Instead of sending back Content-Type: application/octet-stream, I had to lower-case to "content-type", the caller is now accepting the response.

I was thinking that it's an issue with the server not being able to serve application/octet-stream at all, but i was mistaken.

BR