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

Delete content-length header so it is recalculated for request. #122

Closed
wants to merge 1 commit into from

Conversation

JamesMc86
Copy link

This fixes #116.

Content-length should be recalculated but the code was overwriting it with the original length which has changed (for some unknown reason).

@yrsurya
Copy link

yrsurya commented Aug 26, 2019

Can I know when it is going to merge so that we can use this for Bitbucket

@l0gaw
Copy link

l0gaw commented Oct 18, 2019

Any news about the merge? I would want to use bitbucket webhook.

@agoldis
Copy link

agoldis commented Nov 19, 2019

This one also resolves #136. superagent po

@JasonEtco @tcbyrd would you mind please take a look at this? superagent calculates content-length correctly, but smee overrides it to incorrect value.

zregvart added a commit to zregvart/smee-client that referenced this pull request Jan 23, 2020
@zregvart
Copy link

Any chance this can get merged?

@Rulqu
Copy link

Rulqu commented Feb 4, 2020

This fixed our issue. Thanks!

@michaelandersen
Copy link

michaelandersen commented Mar 16, 2020

@JasonEtco @hiimbex @rpetti @tcbyrd any objections to merging this one?

@rpetti
Copy link
Contributor

rpetti commented Mar 16, 2020

I'm not totally familiar with this project, but the change seems reasonable to me.

@snappy88
Copy link

snappy88 commented Apr 3, 2020

Is this going to get merged? I could really use it.

Copy link

@Frechetta Frechetta left a comment

Choose a reason for hiding this comment

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

This does not work for Jenkins. The content-length header must be set.

@JamesMc86
Copy link
Author

@Frechetta the content-length header gets recreated when you send the request to Jenkins.

The problem is if you leave the existing one it is left to the existing value which is incorrect.

I ran this with Jenkins for many months

@Frechetta
Copy link

Frechetta commented Apr 23, 2020 via email

@stale
Copy link

stale bot commented Jul 25, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the wontfix label Jul 25, 2020
@stale stale bot closed this Aug 24, 2020
zregvart added a commit to zregvart/smee-client that referenced this pull request Jan 12, 2021
siccous pushed a commit to BTLzdravtech/smee-client that referenced this pull request Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error forwarding Bitbucket Cloud to Internal Jenkins