Questions tagged [response-headers]
545 questions
0
votes
2 answers
Do not send response headers at all
I have tiny Java web application backed by Apache Camel. It uses Camel's servlet component. This application is meant to be connector and receive data from devices.
As far as we pay for traffic I am interesting if there is a way to deny all response…

ruruskyi
- 2,018
- 2
- 26
- 37
0
votes
1 answer
Asp Classic Write PDf and keep filename when printed
I'm trying to write a pdf file to the browser and when the client print the pdf the filename sent to the printer is the name of the file. But now i'm getting the name of the asp page sent to the browser "loadfile.asp"
Because I can't put a title in…

GregM
- 2,634
- 3
- 22
- 37
0
votes
2 answers
Retrieve XML data from AJAX, prompt user to Download?
I'm working on the client-side portion of a project and have a situation that currently recieves a block of XML data from the server, and I'm trying to take that information and prompt a user download with it. Is this possible?
Here's my code:
var…

streetlight
- 5,968
- 13
- 62
- 101
0
votes
1 answer
https keep-alive?
I know how to do it for http, and it's pretty easy.
But how do you do it for https in iis?
If the method linked above is supposed to do it for https, it doesn't work on mine, or at least I receive no keep-alive response headers.
Many thanks in…
user1382306
0
votes
1 answer
UTF-8 character encoding not working in Firefox
Possible Duplicate:
UTF-8 issue in Firefox - response header overriding meta tag?
I have a jPlayer playlist that works fine in all browsers except Firefox.
The issue is with non-standard characters, i.e. characters with accents or asian…

Nick
- 4,304
- 15
- 69
- 108
-1
votes
1 answer
Why are my API response always invalid ? Is there something wrong with my call_api function?[Solved]
In my call_api function, I used a different way to detect invalid/valid APIs which was by checking if the string, "Hazard was successfully processed and at least one value is returned." was present in the header "Response_Description". Somehow my…

Jose Moquiambo
- 35
- 7
-1
votes
1 answer
Refresh header redirect fails - "the scheme does not have a registered handler"
I don't know how to debug this problem...
I'm trying to do a redirect with a header:
header('Refresh:5;Location:https://www.google.com/);
exit();
but I get the following error:
Failed to launch 'location:https://www.google.com/' because the scheme…
user10771503
-1
votes
1 answer
What is response headers format to output OpenAPI docs on FastAPI
Let me know someone way to output header name
I wrote response the following code,
responses={
st.HTTP_200_OK: {
"model": main_response_data,
"description": "main response data",
"headers":…

Jun Takeshita
- 7
- 7
-1
votes
1 answer
Blazor Wasm - 405 HTTP verb used is not allowed
I uploaded a blazor webapp on a host and I get this error while trying to modify or delete a product:
405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb)…

A N
- 1
- 1
-1
votes
1 answer
Getting nonexistent 'Allow-Access-Allow-Origin' header problem in nodejs application with express
I'm creating an API with nodejs and express and a vue application but I'm getting the "No 'Access-Control-Allow-Origin' problem" when I request data to my API. I tried some solutions like use cors package and define response headers but I got the…

Matheus Sousa
- 43
- 4
-1
votes
1 answer
Request header field * is not allowed by Access-Control-Allow-Headers in preflight response
first of all: I already found similar problems to mine, but due to the fact that I am an absolute beginner in react and javascript, I was not able to both fully understand and solve my problem with the given tips and explanations.
My Problem: I want…

Zodrox
- 1
-1
votes
1 answer
How to remove charset=utf-8 from content type in response header
Here is my code :
[HttpPost]
public IActionResult Post([FromBody] JObject jobject)
{
JObject changedObject = new JObject();
if (jobject.ContainsKey("name"))
{
changedObject.Add("id", "1");
changedObject.Add("name",…

BaranwalG
- 1
- 1
-1
votes
1 answer
What tells the browser to retrieve from cache/ reload a .js file? Behaviour appears to be random despite cache-control header
I managed to set a cache-control header for js files in .net 5 and I can see the response headers in the request in the browser.
To test this, I repeatedly refresh the page/ enter in the page from another location and the file seemingly reloads/…

John Mcdowl
- 55
- 4
-1
votes
1 answer
c# HttpResponseMessage - how to get X-Total-Pages from response and use it to get all results without pagination
Hello I'm using this to call to GitLab API:
HttpResponseMessage response = await client.GetAsync(apiPath);
In this response there is headers > results view > X-Total-Pages key
value in visual
How to get its value?

aks
- 13
- 6
-1
votes
1 answer
How to get the content of a response header?
I want to get information from an HTTP response header. I do an HTTP request with the code example below.
var token = '123456';
var r = new XMLHttpRequest();
r.open('get', '/api/users/@me');
r.setRequestHeader('authorization', token);
r.send();
In…
user12367845