Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: continue replacing application/x-www-form-urlencoded with application/json #263

Merged
merged 4 commits into from
Mar 24, 2020

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Mar 24, 2020

we rely on the side effect of application/x-www-form-urlencoded being replaced with application/json somewhere in our stack. This will need to be unraveled and fixed upstream. Also, we will need to treat applying Content-Type as a breaking change in the future.

@bcoe bcoe requested a review from alexander-fenster March 24, 2020 01:30
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2020
@codecov
Copy link

codecov bot commented Mar 24, 2020

Codecov Report

Merging #263 into master will decrease coverage by 0.14%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #263      +/-   ##
==========================================
- Coverage   98.67%   98.52%   -0.15%     
==========================================
  Files           4        4              
  Lines         603      612       +9     
  Branches      104       97       -7     
==========================================
+ Hits          595      603       +8     
- Misses          8        9       +1
Impacted Files Coverage Δ
src/gaxios.ts 96.72% <100%> (-0.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a05f07f...87b90cf. Read the comment docs.

src/gaxios.ts Outdated Show resolved Hide resolved
@bcoe bcoe merged commit dca176d into master Mar 24, 2020
@bcoe bcoe deleted the defensive-implementation branch March 24, 2020 04:58
yoshi-automation added a commit that referenced this pull request Apr 1, 2020
…ation/json (#263)

dca176d
commit dca176d
Author: Benjamin E. Coe <bencoe@google.com>
Date:   Mon Mar 23 21:58:49 2020 -0700

    fix: continue replacing application/x-www-form-urlencoded with application/json (#263)
bcoe added a commit to googleapis/node-gtoken that referenced this pull request Feb 26, 2021
This is a long standing bug that prevents us from setting content-type in
gaxios.

Refs: googleapis/google-api-nodejs-client#2003
Refs: googleapis/gaxios#263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants