When retrieving the Service Desk login page (e.g., https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login), if 'Accept' header is not specified, the response contains 'Content-Type: application/octet-stream' rather than 'text/html'.
$ curl -I -v -H 'Accept:' https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login* Trying 18.184.86.245...
* Connected to jira.softwareplant.com (18.184.86.245) port 443 (#0)
[...]
> HEAD /servicedesk/customer/portal/1/user/login HTTP/1.1
> Host: jira.softwareplant.com
> User-Agent: curl/7.47.0
>
< HTTP/1.1 200
< Date: Fri, 12 Jun 2020 12:00:53 GMT
< Content-Type: application/octet-stream;charset=UTF-8
[...]
If the Accept header is specified, and is different than '*/*', the 'Content-Type' in the response is identical to the 'Accept' header:
$ curl -I -v -H 'Accept:xxx/yyy' https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login
[...]
> HEAD /servicedesk/customer/portal/1/user/login HTTP/1.1
> Host: jira.softwareplant.com
> User-Agent: curl/7.47.0
> Accept:xxx/yyy
>
< HTTP/1.1 200
< Date: Fri, 12 Jun 2020 12:06:15 GMT
< Content-Type: xxx/yyy;charset=UTF-8
[...]
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.