11,977 questions
0
votes
0
answers
38
views
Debugging error and success notices prior to parsing data
I have a custom app that I am developing but in the process of testing each step of the development process, I am running into trouble with the csv and xlsx notifications when uploading. I am getting ...
Best practices
0
votes
0
replies
25
views
Would X-Forwarded-Prefix be enough to reconstruct an URL?
In order for the recipient (often myself) to be able to reconstruct the original request URL, I'd like my own http server to support the "X-Forwarded-Prefix" header when serving as a proxy. ...
Advice
0
votes
1
replies
85
views
Why does the User-Agent show Windows 10 when my system settings say Windows 11?
I am studying about the backend, so I am looking at the topic of HTTP headers. I am going through a YouTube video about HTTP headers, and I noticed that the "user-Agent" is showing "...
Advice
0
votes
2
replies
80
views
How to handle variable-length header values when parsing HTTP requests in Java?
I'm building an HTTP server and parsing request headers. My current code fails when the Host header includes a port number because I'm splitting on :.
Current Code:
String[] header = line.split(":...
Best practices
0
votes
1
replies
84
views
TYPO3: Add HTTP header to response
TYPO3 uses HTTP middlewares to process requests, and responses and their headers are created within those middlewares.
Now I'm deep in a powermail finisher and would like to add additional HTTP ...
Advice
2
votes
0
replies
82
views
Can Cloudflare be bypassed from unrendered browsers using basic techniques like setting proper headers or cookies?
Iâm building a Scrapy-based crawler and facing Cloudflare protection on some sites.
Hereâs my current setup:
I have a separate API service that can bypass Cloudflare by simulating a real browser (e.g....
1
vote
1
answer
199
views
Add upstream HTTP header if not present with Kong API Gateway [closed]
I've been using the Post-Function plugin in Kong Gateway to implement some custom logic.
Lately, a large part of it has become unnecessary, and I am left with the following configuration, which only ...
0
votes
0
answers
60
views
Active service worker logging but not intercepting requests
Bit of a messy setup, please accept my advance apologies. I am trying to coordinate work between 3 different GitHub Pages:
https://bur.gy serves my Jekyll blog and registers a service worker called ...
0
votes
0
answers
60
views
I don't fully understand the difference between CL.TE and TE.CL in HTTP request smuggling
I am doing labs in PortSwigger and the topic is HTTP request smuggling. And I am working on CL.TE and TE.CL. And for these labs :
https://portswigger.net/web-security/request-smuggling/exploiting/lab-...
1
vote
1
answer
119
views
Set-Cookie header disappears after some time when using HttpClient with DelegatingHandler in ASP.NET Core
I have a .NET Core project with two layers: an API layer and a UI layer, both in the same solution. The UI layer is built with ASP.NET Core MVC, where controllers call services, and the services use ...
4
votes
2
answers
220
views
How to find powershell's Invoke-RestMethod limit for the size of response headers?
Documentation for Powershell's Invoke-RestMethod does not mention any parameter which would configure maximum allowed size of request/response headers - Official Documentation.
I'm trying to find out ...
0
votes
1
answer
279
views
Google Calendar cid=<ICS URL> shows âUnable to add calendar. Check the URL.â â but the same ICS works via âFrom URLâ
Iâm trying to give users a one-click Add to Google Calendar link using the documente pattern:
https://calendar.google.com/calendar/r?cid=\<URL-ENCODED_ICS_URL>
However, Google consistently ...
1
vote
1
answer
242
views
Return 200 status code with Location header
PHP documentation for the header() function tells us:
There are two special-case header calls... The second special case is the "Location:" header. Not only does it send this header back to ...
0
votes
0
answers
55
views
HTTP/2 in my GET Request not present for one of my Endpoints endpoint in java (Springboot)
I wanted to ask that there is something wrong with one of my endpoints, the endpoint seems to be blocked for some reasons, I have other endpoints that are giving response but this one fails.See the ...
0
votes
0
answers
142
views
QNetworkRequest is converting header names to lowercase for case sensitive service
I'm connecting Tank IP Camera (IPC) API to my windows application with Qt C++. IPC uses basic authorization. I'm using QtNetwork library for HTTP client connection, Qt 6.8.3 with C++17.
I tested the ...