Questions tagged [http-headers]
In the Hypertext Transfer Protocol (HTTP), HTTP header fields contain the operating parameters of an HTTP request or response. With the request or response line (first line of message), they form the message header.
http-headers
12,021
questions
0
votes
0
answers
16
views
Why do I get Error while a Get request to url through Python Requests Lib
I am using requests library to get html content from a URL in which I have to pass consignment numbers comma separated which can be max 25 so when I send only 25 it works but when I send it in a loop ...
2
votes
1
answer
13
views
How can I replicate a curl -u in a header?
With a curl command I execute:
curl -u appId:secret https://api.example.com
This works I then attempt to do it with headers like so:
{
"Content-Type": "application/json",
&...
0
votes
0
answers
41
views
Getting 405 error when making POST request with URLRequest
I'm trying to make a POST request to a newly deployed vercel server. I am having trouble with the request in POSTMan and am getting error 500 when I try to request it from postman. My swift code only ...
0
votes
0
answers
9
views
Guacamole with HTTP authentication
I am having hard time understanding guacamole manual on how to configure http header on guacamole.
I have installed guacamole-auth-header-1.5.5.jar and mounted it. When i start my docker compose in ...
0
votes
0
answers
14
views
Flutter Media Kit different headers data?
My backend server wants each request for video content has unique id in each request i have achieved it when user select a video i genrate a unique number and send to the server it works, now when ...
0
votes
0
answers
14
views
+50
CSP, Security headers to allow a web app to be embedded in a native iOS/Android app?
In my embeddable web app, I set the frame-ancestors directive of the CSP to the origins of the web applications where I allow my app to be embedded.
Is there an equivalent for allowing a specific iOS ...
0
votes
0
answers
11
views
How can I set the Secure and HttpOnly flags on cookies on Shopify?
I am working on a shopify website and i have been examining the security of it. I found several cookies without secure and HttpOnly flags set on them, they are not sensitive cookies but to have a ...
0
votes
0
answers
63
views
Flutter Not Sending Headers to Django Rest Framwork
I'm facing an issue with my Flutter app where the headers I'm trying to send to my Django backend aren't being received.
When I use Postman to send a request to my Django endpoint, the headers are ...
-1
votes
1
answer
110
views
Removing Server header from IIS 10 for static content
How can I remove Server header for static content (e.g. javascript/css/images) that is server by ASP.NET Web Forms application that is hosted on IIS 10? I think I tried pretty much everything that I ...
0
votes
0
answers
19
views
Is it required to have a space after semicolon in HTTP-Header content-disposition?
A WAF we are using is blocking responses from our webserver because of "Malformed HTTP-Header".
I suspect it is because of a "content-disposition" header set by the spring ...
0
votes
0
answers
26
views
Authorization header not passing from backend in node.js
i'm creating a new api called "/protected/history/resume/usagedownloadcheck/:u_id" it is hitting fine but the authorization header is not passing.
response from interceptor:
HttpResponse {...
0
votes
0
answers
23
views
How do I configure NGINX to maintain the session when Java web app redirects to Microsoft for authentication?
We have a Java web application that uses security very similar to examples provided by Microsoft for authentication (Microsoft Authentication Library).
We use Payara Enterprise as our Java application ...
0
votes
1
answer
44
views
File download has no file extension using Content-Disposition
I'm working with PHP in the Symfony Framework (or at least some components of the Framework). I generate a QR-Code and now I want to download it for our design department. There are 2 problems ...
0
votes
0
answers
15
views
Droidscript HttpRequest - Unable to access Cookie value
I'm currently making an HTTP request using DroidScript, and I'm encountering some problems.
var headers = "Cookie=name=value"
http = app.HttpRequest("GET", http://localhost/, null,...
0
votes
1
answer
37
views
Retrieve raw HTTP headers in node.js http module
I'm trying to get the raw HTTP headers of an incoming request in the node.js HTTP module. I want to extract the request line:
GET / HTTP/1.1
However, there doesn't seem to be a way to do it.
I'm ...