8000 Comparing v0.1.3...v0.1.4 · henvic/httpretty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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: henvic/httpretty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.3
Choose a base ref
...
head repository: henvic/httpretty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.4
Choose a head ref
  • 5 commits
  • 9 files changed
  • 2 contributors

Commits on Nov 14, 2023

  1. ci: update workflows

    henvic committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    10e5c53 View commit details
    Browse the repository at this point in the history
  2. ci: add dependabot.yml

    henvic committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    b2e47bd View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Add Align to align HTTP headers

    IMHO this makes stuff rather more readable/scannable. Some people may
    not like it, so I added it as an option.
    
    Will automatically align to the longest header; I modified the
    sortHeaderKeys() so we don't need to do an extra loop for it.
    
    Also pass the Host header to printHeaders() so it's aligned too. Do some
    special-fu to make sure it still prints as the first.
    
    Before;
    
    	* Request at 2024-09-19 15:19:15.459694244 +0100 IST m=+1.001660288
    	* Request to http://localhost:8081/api/3/ping
    	> GET /api/3/ping HTTP/1.1
    	> Host: localhost:8081
    	> Accept: application/json; charset=utf-8
    	> Authorization: ApiKey ████████████████████
    	> Content-Type: application/json; charset=utf-8
    	> User-Agent: alfred/
    
    	< HTTP/1.1 200 OK
    	< Cache-Control: no-store,no-cache
    	< Content-Length: 88
    	< Content-Security-Policy: default-src 'self'; img-src 'self' blob: data:;
    	< Content-Type: application/json; charset=utf-8
    	< Date: Thu, 19 Sep 2024 14:19:15 GMT
    	< Referrer-Policy: same-origin
    	< X-Content-Type-Options: nosniff
    	< X-Frame-Options: SAMEORIGIN
    	< X-Powered-By: Alfred
    	< X-Xss-Protection: 1; mode=block
    
    	{
    		"ftm_version": "3.7.0",
    		"role": 4,
    		"title": "Alfred",
    		"version": "d67f396b"
    	}
    
    	* Request took 9.251101ms
    
    After:
    
    	* Request at 2024-09-19 15:18:45.255328802 +0100 IST m=+1.001249794
    	* Request to http://localhost:8081/api/3/ping
    	> GET /api/3/ping HTTP/1.1
    	> Host:          localhost:8081
    	> Accept:        application/json; charset=utf-8
    	> Authorization: ApiKey ████████████████████
    	> Content-Type:  application/json; charset=utf-8
    	> User-Agent:    alfred/
    
    	< HTTP/1.1 200 OK
    	< Cache-Control:           no-store,no-cache
    	< Content-Length:          88
    	< Content-Security-Policy: default-src 'self'; img-src 'self' blob: data:;
    	< Content-Type:            application/json; charset=utf-8
    	< Date:                    Thu, 19 Sep 2024 14:18:45 GMT
    	< Referrer-Policy:         same-origin
    	< X-Content-Type-Options:  nosniff
    	< X-Frame-Options:         SAMEORIGIN
    	< X-Powered-By:            Alfred
    	< X-Xss-Protection:        1; mode=block
    
    	{
    		"ftm_version": "3.7.0",
    		"role": 4,
    		"title": "Alfred",
    		"version": "d67f396b"
    	}
    
    	* Request took 9.251101ms
    arp242 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    962ad53 View commit details
    Browse the repository at this point in the history
  2. mod: require Go 1.22+ and update workflows

    Only support the latest two major releases of Go.
    Add exclude rule for gosec rule G114.
    henvic committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b5852d6 View commit details
    Browse the repository at this point in the history
  3. cover: remove example directory from code coverage

    Remove example directory from code coverage explicitly since after #26 it
    started being considered on the code coverage report and we don't want that.
    henvic committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    3a02507 View commit details
    Browse the repository at this point in the history
Loading
0