mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
netlib.encoding -> netlib.http.encoding
Encoding is highly specific to http, and only used within this module.
This commit is contained in:
parent
f964d49853
commit
301d52d9d0
@ -3,7 +3,7 @@ import warnings
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from mitmproxy.utils import strutils
|
from mitmproxy.utils import strutils
|
||||||
from netlib import encoding
|
from netlib.http import encoding
|
||||||
from mitmproxy.types import serializable
|
from mitmproxy.types import serializable
|
||||||
from netlib.http import headers
|
from netlib.http import headers
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
import mock
|
import mock
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from netlib import encoding, tutils
|
from netlib.http import encoding
|
||||||
|
from netlib import tutils
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("encoder", [
|
@pytest.mark.parametrize("encoder", [
|
Loading…
Reference in New Issue
Block a user