HTTP Request - `Date` header is silently changed

Hi all,

I’m trying to interact with an API that requires the Date header to be in a specific format. However, it seems like UiPath quietly changes this header to a different format.

Headers I specified in UiPath:
image

Headers received by endpoint:
image

Note that the Date header has been converted to RFC1123 format (or the “r” format specifier).

If I provide a value that doesn’t look like a date to the Date header, it seems to be removed from the headers list entirely.

Is there a way to disable this behaviour? I’d prefer to specify exactly what values the headers should be, including Date.

Thanks,
Max

Hello @mcutlyp,

Sorry to bring up an old thread. Have you by any chance found a way to stop this?

I’m using an http signature which contains a date in a certain format signed by a private key, but because UiPath is changing the date format I keep getting the 401 rejected response because of content mismatching.
should be
image
actual
image

Many thanks!