Tag

http headers

0 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 21, 2025 · Backend Development

Enabling Underscore Headers in Nginx for Spring Boot Applications

This article demonstrates how Nginx’s default behavior ignores request headers containing underscores, causing missing parameters in a Spring Boot application, and shows how to configure the 'underscores_in_headers on;' directive to correctly forward such headers, with code examples and testing via Postman.

NginxReverse ProxySpring Boot
0 likes · 4 min read
Enabling Underscore Headers in Nginx for Spring Boot Applications
Architect's Guide
Architect's Guide
Jul 6, 2024 · Operations

Resolving CORS Issues with Nginx Proxy Configuration: A Step‑by‑Step Guide

This article explains how to diagnose and fix common CORS problems when a front‑end site on port 8080 accesses a back‑end service on port 59200 by configuring Nginx as a proxy, detailing the required response headers, handling preflight requests, and providing complete example configurations.

CORSNginxPreflight
0 likes · 13 min read
Resolving CORS Issues with Nginx Proxy Configuration: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2024 · Frontend Development

Mastering CORS in Spring Boot: From Basics to Full Implementation

Learn how Cross-Origin Resource Sharing (CORS) works, when it’s needed, the role of preflight requests, essential HTTP headers, and step-by-step Spring Boot solutions—including @CrossOrigin annotations, global configuration, and custom filters—to securely enable cross-domain calls in your applications.

CORSCross-OriginJava
0 likes · 11 min read
Mastering CORS in Spring Boot: From Basics to Full Implementation
Java Tech Enthusiast
Java Tech Enthusiast
Jan 10, 2024 · Information Security

Cross-Origin Resource Sharing (CORS) and Same-Origin Policy Explained

Cross-Origin Resource Sharing (CORS) extends the Same-Origin Policy by permitting controlled cross‑origin requests through simple and preflight flows, using specific headers and credential rules, thereby balancing web security against threats like XSS, CSRF, and injection attacks while enabling safe resource sharing.

CORBCORSCross-Origin Requests
0 likes · 10 min read
Cross-Origin Resource Sharing (CORS) and Same-Origin Policy Explained
php中文网 Courses
php中文网 Courses
Dec 28, 2023 · Backend Development

Handling Cross-Origin Requests in PHP Using Proxy Servers and Response Headers

This article explains how to overcome browser Same-Origin Policy restrictions in PHP by using a proxy server with cURL for request forwarding or by setting appropriate Access-Control-Allow-Origin response headers, including code examples and security considerations.

BackendCORSPHP
0 likes · 5 min read
Handling Cross-Origin Requests in PHP Using Proxy Servers and Response Headers
Top Architect
Top Architect
Oct 16, 2023 · Information Security

Understanding Same‑Origin Policy and CORS: Security Strategies for Web Applications

This article explains the fundamentals of the browser Same‑Origin Policy, the security risks it mitigates, and how Cross‑Origin Resource Sharing (CORS) with simple and preflight requests enables controlled cross‑domain communication while protecting user data.

CORSCross-OriginSame-Origin Policy
0 likes · 15 min read
Understanding Same‑Origin Policy and CORS: Security Strategies for Web Applications
php中文网 Courses
php中文网 Courses
Nov 1, 2022 · Backend Development

Resolving Duplicate Set-Cookie Header Caused by Repeated session_start() Calls in PHP

The article explains why calling PHP's session_start() multiple times generates duplicate Set-Cookie headers, provides a code-based fix using session_abort() and header_remove(), and discusses session file locking, cookie lifetime, and garbage collection settings to manage session behavior effectively.

Session Managementhttp headerssession
0 likes · 3 min read
Resolving Duplicate Set-Cookie Header Caused by Repeated session_start() Calls in PHP
政采云技术
政采云技术
Aug 9, 2022 · Fundamentals

Understanding HTTP Referer: Definition, Policies, and Use Cases

HTTP Referer is a header field that indicates the source URL of the current webpage, playing a crucial role in web security, analytics, and troubleshooting, with various Referrer-Policy strategies controlling how much information is shared.

HTTP RefererReferrer-PolicyWeb Development
0 likes · 10 min read
Understanding HTTP Referer: Definition, Policies, and Use Cases
Practical DevOps Architecture
Practical DevOps Architecture
Apr 14, 2022 · Backend Development

Understanding and Solving Cross-Origin Issues with Nginx add_header Configuration

This article explains when cross‑origin problems occur due to the browser's same‑origin policy, describes the restrictions it imposes, and provides detailed Nginx add_header configurations—including specific and global examples—to enable Access‑Control‑Allow‑Origin and Access‑Control‑Allow‑Methods headers for CORS resolution.

CORSCross-OriginNginx
0 likes · 4 min read
Understanding and Solving Cross-Origin Issues with Nginx add_header Configuration
System Architect Go
System Architect Go
Feb 28, 2021 · Information Security

Cross-Origin Resource Sharing (CORS) and Same‑Origin Policy: Concepts, Vulnerabilities, and Mitigations

This article explains the fundamentals of Cross‑Origin Resource Sharing (CORS) and the Same‑Origin Policy, illustrates common misconfigurations and attack scenarios such as origin reflection, null origin whitelisting, and TLS downgrade, and provides best‑practice mitigation techniques for secure web development.

CORSCross-Origin AttacksSame-Origin Policy
0 likes · 20 min read
Cross-Origin Resource Sharing (CORS) and Same‑Origin Policy: Concepts, Vulnerabilities, and Mitigations
Fulu Network R&D Team
Fulu Network R&D Team
Oct 27, 2020 · Information Security

Understanding Fetch Metadata Request Headers (Sec-Fetch-*) and Their Security Implications

This article explains the purpose, possible values, and security impact of the Sec-Fetch request headers introduced by the Fetch Metadata specification, showing how browsers automatically add them, how servers can use them to filter illegal requests, and providing practical policy examples and code snippets.

CSRF ProtectionFetch MetadataSec-Fetch
0 likes · 9 min read
Understanding Fetch Metadata Request Headers (Sec-Fetch-*) and Their Security Implications
UC Tech Team
UC Tech Team
Jan 7, 2019 · Backend Development

Using the Server‑Timing Header to Measure Server Performance

The article explains how the Server‑Timing HTTP header can be used to transmit arbitrary server‑side metrics to the client, shows how to send multiple timing values, demonstrates Chrome DevTools support, warns about exposing sensitive data, and introduces a small hapi plugin that simplifies adding the header.

Performance MonitoringServer TimingWeb Performance
0 likes · 3 min read
Using the Server‑Timing Header to Measure Server Performance
Qunar Tech Salon
Qunar Tech Salon
Nov 25, 2016 · Backend Development

Understanding Browser Cache Control with Spring MVC and Nginx

This article explains how browsers cache resources using HTTP headers such as Last-Modified, Expires, Cache-Control and ETag, demonstrates Java Spring MVC code to set these headers, and shows how to configure Nginx for both static and proxy caching to reduce backend load and improve performance.

Browser CacheCachingNginx
0 likes · 19 min read
Understanding Browser Cache Control with Spring MVC and Nginx
Efficient Ops
Efficient Ops
Nov 13, 2016 · Frontend Development

Master Browser Caching: HTTP Headers, Spring MVC Code, and Nginx Configuration

This article explains how browsers cache resources, the role of HTTP response headers such as Last-Modified, Expires, Cache-Control, ETag, and Age, and provides practical examples of controlling cache behavior with Spring MVC code and detailed Nginx configuration for both static and proxy caching.

NginxSpring MVCbrowser caching
0 likes · 21 min read
Master Browser Caching: HTTP Headers, Spring MVC Code, and Nginx Configuration
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 23, 2016 · Information Security

Testing HTTP Header Parameters for SQL Injection: Coverage, Tools, and Best Practices

The article examines how HTTP header and cookie parameters can serve as SQL injection vectors, evaluates the coverage of commercial and open‑source web vulnerability scanners, demonstrates manual testing techniques, and recommends tools such as sqlmap for comprehensive security assessments.

SQL injectionWeb Securitycookies
0 likes · 13 min read
Testing HTTP Header Parameters for SQL Injection: Coverage, Tools, and Best Practices
Architecture Digest
Architecture Digest
Mar 8, 2016 · Frontend Development

Understanding Browser Caching: Strong and Negotiated Cache Mechanisms

This article explains the fundamentals of browser caching, covering strong and negotiated cache principles, HTTP header configurations such as Expires and Cache‑Control, practical code examples for managing cache in Java, and common development techniques to control or bypass caching for optimal web performance.

Web Performancebrowser cachingfrontend
0 likes · 16 min read
Understanding Browser Caching: Strong and Negotiated Cache Mechanisms
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jul 18, 2015 · Frontend Development

Understanding Browser Cache Mechanisms and HTTP Header Controls

This article explains how browsers cache resources, the role of HTTP response headers such as Expires, Cache‑Control, ETag and Last‑Modified, and how conditional requests and different refresh actions affect caching behavior to improve web performance.

Browser CacheETagWeb Performance
0 likes · 12 min read
Understanding Browser Cache Mechanisms and HTTP Header Controls