Leaklens

psf__requests-1724

Unicode method names cause UnicodeDecodeError for some requests in Python 2.7.2

Verdict: the issue points to the file or function that was changed (Tier B).

This is because `sessions.py:313` is simply: ``` req.method = method.upper() ```

The text points to the exact place to change: “This is because `sessions.py:313` is simply: ``` req.method = method.upper() ```”

All SWE-bench Verified tasks · more psf/requests tasks · How the check works