Attributes
- Companion
- class
- Source
- HttpConfig.scala
- Graph
-
- Supertypes
- Self type
-
HttpConfig.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Create a read-only configuration that only allows GET and HEAD requests. This is the default and safest configuration.
Create a read-only configuration that only allows GET and HEAD requests. This is the default and safest configuration.
Attributes
- Source
- HttpConfig.scala
Create a restrictive configuration with explicit domain allowlist.
Create a restrictive configuration with explicit domain allowlist.
Attributes
- Source
- HttpConfig.scala
Create an unsafe configuration that disables SSRF protection.
Create an unsafe configuration that disables SSRF protection.
WARNING: This allows requests to internal networks and cloud metadata endpoints. Only use this in controlled/sandboxed environments.
Attributes
- Source
- HttpConfig.scala
Create a configuration that allows all common HTTP methods.
Create a configuration that allows all common HTTP methods.
WARNING: This enables potentially destructive methods (POST, PUT, DELETE). Use with caution and appropriate guardrails.
Attributes
- Source
- HttpConfig.scala
Concrete fields
Default blocked domains (hostnames).
The caller-set headers a redirect carries to another origin by default: content negotiation and the user agent, none of which can carry a credential. Content-Type goes only with a re-sent body.
The caller-set headers a redirect carries to another origin by default: content negotiation and the user agent, none of which can carry a credential. Content-Type goes only with a re-sent body.
Attributes
- Source
- HttpConfig.scala
