Learn how to interpret Dwolla API responses including response types, status codes, headers, and body conventions.
location
or Location
. While HTTP/2 mandates lowercase header names, older HTTP/1.1 connections might still use mixed casing.
To ensure consistent handling, it’s recommended to normalize header names to lowercase within your application. This involves converting all header names to lowercase before accessing their values. This approach provides a reliable way to reference headers without worrying about inconsistent capitalization.
For example, if you’re expecting a Location
header, you should check for location
as well to ensure you capture all possible variations.
X-Request-ID
and CF-RAY
headers provide additional information that can be used for debugging purposes.