Skip to content

Conversation

@pregnantboy
Copy link
Contributor

Changes

  • fix: redirection to GET in Custom API

#1274)

## Problem

Google app script returning 400

## Reason

We're sending the data/body after it's redirect to a GET request. 

## Solution

Follow axios (which relies on follow-redirects) behaviour:
If redirect request is GET:
- remove body
- remove headers starting with `content-`

## Reference

https://github.com/follow-redirects/follow-redirects/blob/main/index.js#L442
@pregnantboy pregnantboy requested a review from a team as a code owner October 23, 2025 03:02
@kevinkim-ogp kevinkim-ogp changed the title Release 1.54.4 Release 1.54.5 Oct 23, 2025
Copy link
Contributor

@kevinkim-ogp kevinkim-ogp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@pregnantboy pregnantboy merged commit 0bc70a9 into production Oct 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants