Add “AND MIT” to SPDX license expression for httpx2

MU
11d ago
+1-1

Summary

This would add AND MIT to the SPDX expression in the license field of pyproject.toml for the httpx2 package, thereby more accurately indicating the complete set of licenses covering code in the package.

The MIT term covers code derived from httpx-ws in httpx2.websockets,

https://github.com/pydantic/httpx2/blob/f4f65c1ba4517a864b33770a92dee05ea74f9072/src/httpx2/httpx2/websockets/__init__.py#L2-L26

and code derived from httpx-sse in httpx2._sse:

https://github.com/pydantic/httpx2/blob/f4f65c1ba4517a864b33770a92dee05ea74f9072/src/httpx2/httpx2/_sse.py#L2-L25

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. (Nothing to test here.)
  • I've updated the documentation accordingly. (Nothing to update here.)