Libraries tagged by header
webrek/laravel-idempotency
643 Downloads
Safe request retries for Laravel APIs via the Idempotency-Key header.
webjump/mobiledetectlib
111186 Downloads
Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
webfactory/http-cache-bundle
17643 Downloads
Symfony bundle to ease HTTP cache validation via last modified header
wearerequired/h2push
16495 Downloads
Sends Link headers to bring HTTP/2 Server Push for scripts and styles to WordPress.
vortos/vortos-security
878 Downloads
Vortos enterprise security — HTTP headers, CORS, CSRF, IP filtering, request signing, encryption, secrets, and data masking
visuellverstehen/t3languageredirection
4878 Downloads
This TYPO3 package provides a middleware that automatically redirects users to the preferred language URL based on their browser's Accept-Language header.
tenantcloud/laravel-cors
56803 Downloads
Send CORS headers in a Laravel application
ramon/colored
3316 Downloads
Colorizes the Flarum forum header and interface based on the active tag's color.
pressbooks/pressbooks-clarke
30801 Downloads
Named after Arthur C. Clarke, this is a simple book theme, with some light modern touches. Good for fiction and non-fiction. Body font is Tinos; headers Lato.
phpro/mage2-module-bypass-page-cache
37937 Downloads
Bypass the page cache by adding a specific header to the request
paypaplane/svix-client
24546 Downloads
Welcome to the Svix API documentation! Useful links: [Homepage](https://www.svix.com) | [Support email](mailto:[email protected]) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/) # Introduction This is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com). ## Main concepts In Svix you have four important entities you will be interacting with: - `messages`: these are the webhooks being sent. They can have contents and a few other properties. - `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform. - `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type). - `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint. ## Authentication Get your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. For more information on authentication, please refer to the [authentication token docs](https://docs.svix.com/api-keys). ## Code samples The code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/). ## Idempotency Svix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response. To perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions. Svix's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result. Please note that idempotency is only supported for `POST` requests. ## Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
pagemill/accept
18195 Downloads
Parses the HTTP Accept header and determes the preferred content type
opctim/symfony-csp-bundle
2330 Downloads
This bundle helps to properly secure your application using the CSP header in a symfony application.
netlogix/nxajaxpluginpage
51649 Downloads
Render AJAX plugins based on ACCEPT headers
mobilestock/auto-json-accept
10041 Downloads
That library will convert your Accept headers into application/json when it's generic or not present, using a global middleware