Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute_ctl API doesn't send content-type header in responses #7629

Open
prepor opened this issue May 7, 2024 · 0 comments
Open

compute_ctl API doesn't send content-type header in responses #7629

prepor opened this issue May 7, 2024 · 0 comments
Assignees
Labels
t/bug Issue Type: Bug

Comments

@prepor
Copy link
Contributor

prepor commented May 7, 2024

Steps to reproduce

❯ curl -vvv 'localhost:$PORT/info'
* Host localhost:55433 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:55433...
* Connected to localhost (::1) port 55433
> GET /info HTTP/1.1
> Host: localhost:55433
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< content-length: 15
< date: Tue, 07 May 2024 08:56:10 GMT
<
* Connection #0 to host localhost left intact
{"num_cpus":10}%

Expected result

content-type:application/json

Actual result

No content-type header at all.

Environment

Logs, links

@prepor prepor added the t/bug Issue Type: Bug label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Issue Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants