68,095 questions
Best practices
0
votes
1
replies
20
views
Server to Client under multipart/form-data
Given some object:
class Foo {
metadata_field1: ...,
metadata_field2: ...,
file: Blob
}
Let's also consider definitions where Foo has multiple Blob attributes, or an array of Blobs, or even ...
1
vote
0
answers
79
views
I want to open a web server with ESP32
I'm not good at English, so I used a translator.
Please understand that we cannot show all the code.
Currently, I am trying to open AP mode in ESP32 and send HTML information to the connected person.
...
Advice
0
votes
3
replies
42
views
What is the point of cache busting since it requires to download the HTML data?
Disclaimer: this is not an opinion-based or open question. It is a question that expects hard facts based on studies and verifiable metrics. Please refrain yourself from down-voting or requesting the ...
1
vote
1
answer
86
views
HTTP Request to a Specific Website Fails with "Connection Timed Out" in Code, but Works in Browser
I'm encountering a consistent
Connection timed out
error when my application, running on a local development server, tries to make HTTP requests to a specific external website. The site loads ...
3
votes
3
answers
113
views
Python requests.request returning garbage
Calling an api. For almost all calls the response comes clean but for a few there is garbage in the returned json. Executing the garbage one in the Firefox browser with the same parameters returns ...
-3
votes
1
answer
122
views
Best way to parse an http request (from scratch) [closed]
I'm currently working on a mini NGINX project just for learning purposes. I already implemented some logic related to socket networking. I'm now facing the problem of parsing the HTTP requests, and I ...
1
vote
2
answers
87
views
Problem with Content-Type in a (.net) StringContent
I have a request (going to an APIM endpoint.) From Postman the test runs just fine, but from my code it fails with a 400. I looked at the requests in fiddler and the only difference is this:
// This ...
0
votes
1
answer
78
views
Invalid status line exception trying to establish local gRPC connection with Grpc.Net.Client
I am trying to form a plain HTTP connection to a local gRPC server. This worked using the deprecated Grpc.Core package, but with Grpc.Net.Client I receive:
Exception calling "Wait" with &...
-1
votes
0
answers
25
views
Zabbix "Invalid HTTP header" Response
I'm getting following errors on two different web monitoring. Has anyone encountered these specific errors before?
Invalid HTTP header field was received: frame type: 1, stream: 1, name: [keep-alive], ...
0
votes
1
answer
58
views
Scrapy handle status 202
I'm quite new to web scraping, and in particular in using Scrapy's spiders, pipelines...
I'm getting some 202 status from some spider requests' response, hence the page content is not available yet
...
2
votes
1
answer
71
views
In my Blazor SSR app., my service method is failing when calling an Azure HTTP trigger
In my PayPalService.cs file, I have a public method in the class that calls an Azure HTTP triggered method in PayPalFunctions.cs file that keeps failing due to an error: "Method not Allowed"....
0
votes
0
answers
41
views
Angular Global Same Logic Functions Refactoring
I am trying to atleast clean the component.ts using services or somthing in my angular i have many repetitive code that i trying to fix and refactor. I am trying to apply DRY as possible can i have a ...
0
votes
0
answers
35
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-...
0
votes
0
answers
45
views
Cannot get client running on React to send HttpOnly Cookie with JWT back to SpringBoot Server
I'm at my wits end here. The browser is not providing the cookie on my fetch() request. I'm running a SpringBoot server on port 8081 and have set up my CORS like so:
@Bean
CorsConfigurationSource ...
0
votes
1
answer
55
views
Webhook requires pooling on client side after data is pushed to webhook endpoint?
I do not understand the real difference between webhooks and traditional pooling of endpoints because to me webhooks still require pooling.
**Traditional case: Client asks, server tells
**
In a ...
0
votes
1
answer
63
views
Is it possible to paste Multi-Line Long text into HTTP Response?
I am trying to pass text like
"Video Transmission & internal Recording
No Filters
1x 11 Handheld Monitor 1x 19 Monitor"
--> so 5 and more likes with several empty line inbetween as ...
0
votes
0
answers
78
views
How to remove header 'Host' using supertest
I have condiiton in my http server that check if req.headers["host"] is undefined or not. I am using supertest and mocha to send GET request. I tried to use unset("Host"), but ...
0
votes
1
answer
152
views
POST requests from Cloud Run arriving as GET requests in my Django REST API
I have a serverless pipeline on Google Cloud. It consists of three total steps:
A video uploader that sends videos to Google Cloud Storage. Working fine.
An eventarc + pub/sub trigger that fires ...
0
votes
0
answers
24
views
Setting cross site cookies for same root domain, diff subdomain
I deployed apis to api.xyz.com and frontend is on ui.xyz.com.
When I set and send back jwt in cookie from serverx it only sets to be used with ui.xyz.com.
Since, apis are on diff subdomain how do I ...
0
votes
1
answer
79
views
ADF Web activity fails within a ForEach activity while it works fine outside of it
I am building an ADF pipeline that uses a ForEach activity to iterate over a bunch of sites. The HTTP endpoint is generated dynamically by use of a @concat expression & fed into the HTTP activity ...
1
vote
1
answer
129
views
HTTP request encoding
Let's say we have an HTML form for sending data to the php/webserver server
<!DOCTYPE html>
<html>
<head>
<title>Form</title>
</head>
<body>
<form ...
0
votes
1
answer
129
views
Connection handling problems when repeatedly starting server on ephemeral port
In the following scenario:
In a loop:
construct and launch server
construct client and make a request
print response code
cleanup server and client
I am seeing occasional timeouts and rarely other ...
0
votes
1
answer
64
views
upload file throw io exception when pass gateway
Access upload file api using RestTemplate throw io exception when pass gateway.
When pass gateway it throw exception, just a small file, and its not api server throw
Servlet.service() for servlet [...
0
votes
0
answers
59
views
Browser is not loading resources from disk cache despite cache-control
I set the following response headers for my resource files: CSS, JavaScript, and images
HTTP/1.1 200
Cache-Control: max-age=31536000, private
Accept-Ranges: bytes
ETag: W/"5656790-1756289494000&...
0
votes
3
answers
154
views
PhpStorm adding script to my GET responses
I'm responding to a GET request with JSON data (Content-Type
application/json; charset=utf-8), but it keeps tacking on this random script to every response and I cannot get rid of it no matter what I ...