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: emicklei/go-restful
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7c971ca4d0fd
Choose a base ref
...
head repository: emicklei/go-restful
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.8.0
Choose a head ref
  • 5 commits
  • 7 files changed
  • 2 contributors

Commits on Jun 4, 2022

  1. [Minor] Bad practice to have a mix of Receiver types. (#491)

    I was using an old version and saw that 
    ```
    r.contentEncodingEnabled = &enabled
    ```
    Fix was added, however String() should be updated to also use a pointer receiver.
    
    Per Golang Docs "In general, all methods on a given type should have either value or pointer receivers, but not a mixture of both."
    Grant McCloskey authored Jun 4, 2022
    Configuration menu
    Copy the full SHA
    f04c271 View commit details
    Browse the repository at this point in the history
  2. add test and fix for POST without body and Content-type, issue #492 (#…

    …496)
    
    * add test and fix for POST without body and Content-type, issue #492
    
    * rm delete
    emicklei authored Jun 4, 2022
    Configuration menu
    Copy the full SHA
    c2c010a View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. use exact matching of allowed domain entries, issue #489 (#493)

    * use exact matching of allowed domain entries, issue #489
    
    * update doc, add testcases from PR conversation
    
    * introduce AllowedDomainFunc #489
    
    * more tests, fix doc
    
    * lowercase origin before checking cors
    emicklei authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    fd3c327 View commit details
    Browse the repository at this point in the history
  2. add entry to changes

    emicklei committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    19a9150 View commit details
    Browse the repository at this point in the history
  3. update examples

    emicklei committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    a2ff8b3 View commit details
    Browse the repository at this point in the history
Loading