netlib.encoding -> netlib.http.encoding

Encoding is highly specific to http, and only used within this module.
This commit is contained in:
Aldo Cortesi 2016-10-20 11:06:57 +13:00
parent f964d49853
commit 301d52d9d0
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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", [