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: fastapi/fastapi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: patrickkwang/fastapi
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.
  • 8 commits
  • 6 files changed
  • 1 contributor

Commits on Sep 9, 2020

  1. Add FastAPI() argument terms_of_service for OpenAPI

    Patrick Wang committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    8c445b5 View commit details
    Browse the repository at this point in the history
  2. Add test for TOS

    Patrick Wang committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    b3a77e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Check Content-Type before assuming JSON

    Don't try to convert to JSON unless Content-Type == application/json.
    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    c875d34 View commit details
    Browse the repository at this point in the history
  2. Remove now-unneccessary exception handling

    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    a709288 View commit details
    Browse the repository at this point in the history
  3. Fix broken-body test

    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    fa54629 View commit details
    Browse the repository at this point in the history
  4. Assume "Content-Type": "application/octet-stream"

    Per RFC 7231, the "Content-Type" header is not strictly required, and if it is not present, "application/octet-stream" should be assumed.
    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    f39d7da View commit details
    Browse the repository at this point in the history
  5. Explicitly specify Content-Type in gzip test

    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    49e5945 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'fix_1018'

    Patrick Wang committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    d3a3248 View commit details
    Browse the repository at this point in the history
Loading