AWS Application Load Balancer (ALB) Fixed-Response Actions Content Types

What content types does ALB support for the message body of fixed-response action?

ALB supports various content types for fixed-responses, including text/plain, text/css, text/html, application/javascript, and application/json. All the options listed (A: text/plain, B: application/json, C: text/html) are supported by ALB.

Content Types Supported by ALB for Fixed-Response Actions

ALB (Application Load Balancer) from AWS offers a range of content types that can be used for the message body of fixed-response actions. These content types are essential for configuring the responses that ALB sends back to clients based on specific conditions.

When setting up fixed-response actions in ALB, it is crucial to select the appropriate content type to ensure that the response is formatted correctly. The following MIME types are supported by ALB for the content-type field of fixed-response actions:

  • text/plain
  • text/css
  • text/html
  • application/javascript
  • application/json

These content types offer flexibility in how response bodies are structured and allow for customization based on the specific needs of the application or service using ALB. Whether you need plain text, HTML content, JavaScript, or JSON data, ALB can handle various formats to cater to diverse requirements.

Therefore, when designing fixed-response actions in ALB, consider the content type that best suits the intended response message to ensure seamless communication between the load balancer and clients.

← How long may verification of one file take for sandblast threat emulation Unlocking the world of cryptography discover its practical applications →