Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jquery/jquery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: bmelton/jquery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 17, 2012

  1. Fixes HTTP:411 errors on DELETE to non-chunk srvrs

    Problem description (old) is here: https://groups.google.com/forum/?fromgroups=#!topic/jquery-en/IoKJgc8jvcQ
    
    Issue is that Nginx (without Chunkin support enabled, as found on Dotcloud) rejects PUT and POST delete requests as they don't have any message body. 
    
    Many work around this in code by settings a data: {} attribute in params.  
    
    My fix simply swaps {} for null as they are effectively the same and this will support more servers. 
    
    I've checked against a few different servers, Apache & Nginx with and without chunking enabled, and this hasn't caused any problems that I've seen. 
    bmelton committed Oct 17, 2012
    Configuration menu
    Copy the full SHA
    3fabac2 View commit details
    Browse the repository at this point in the history
Loading