remove empty lines at beginning of file

This commit is contained in:
Thomas Kriechbaumer 2016-10-17 10:32:12 +02:00
parent e59a3be09d
commit 94c9dd66e6
88 changed files with 0 additions and 91 deletions

View File

@ -1,4 +1,3 @@
from mitmproxy.builtins import anticache
from mitmproxy.builtins import anticomp
from mitmproxy.builtins import filestreamer

View File

@ -1,5 +1,3 @@
class AntiCache:
def __init__(self):
self.enabled = False

View File

@ -1,5 +1,3 @@
class AntiComp:
def __init__(self):
self.enabled = False

View File

@ -1,4 +1,3 @@
import itertools
import click

View File

@ -1,4 +1,3 @@
import contextlib
import os
import shlex

View File

@ -1,4 +1,3 @@
from mitmproxy import exceptions
from mitmproxy import flowfilter

View File

@ -1,4 +1,3 @@
import click
from mitmproxy import utils

View File

@ -1,4 +1,3 @@
import configargparse
import os
import re

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy.console import common, searchable

View File

@ -1,4 +1,3 @@
import urwid
import netlib.http.url

View File

@ -1,4 +1,3 @@
import math
import os
import sys

View File

@ -1,4 +1,3 @@
import abc
import copy
from typing import Any

View File

@ -1,4 +1,3 @@
import os
from typing import Callable, Optional

View File

@ -1,4 +1,3 @@
import platform
import urwid

View File

@ -1,4 +1,3 @@
import mailcap
import mimetypes
import os

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy import contentviews

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy.console import common

View File

@ -1,4 +1,3 @@
import glob
import os.path

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy.console import signals

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy.console import common

View File

@ -1,4 +1,3 @@
import blinker
# Show a status message in the action bar

View File

@ -1,4 +1,3 @@
import os.path
import urwid

View File

@ -1,4 +1,3 @@
import urwid

View File

@ -1,4 +1,3 @@
import urwid
from mitmproxy.console import signals

View File

@ -1,4 +1,3 @@
import functools
import threading
import contextlib

View File

@ -1,4 +1,3 @@
import typing
from typing import Optional

View File

@ -1,4 +1,3 @@
from mitmproxy.flow import export, modules
from mitmproxy.flow.io import FlowWriter, FilteredFlowWriter, FlowReader, read_flows_from_paths
from mitmproxy.flow.master import FlowMaster

View File

@ -1,4 +1,3 @@
import json
import re
import textwrap

View File

@ -1,4 +1,3 @@
import os
from mitmproxy import exceptions

View File

@ -1,4 +1,3 @@
import os
import sys

View File

@ -1,4 +1,3 @@
from netlib import wsgi
from netlib import version
from netlib.http import http1

View File

@ -1,4 +1,3 @@
from abc import abstractmethod, ABCMeta
from typing import List # noqa

View File

@ -1,4 +1,3 @@
import os
import signal
import sys

View File

@ -1,4 +1,3 @@
from netlib.http import decoded
from .connections import ClientConnection, ServerConnection
from .flow import Flow, Error

View File

@ -1,4 +1,3 @@
import time
import copy
import uuid

View File

@ -1,4 +1,3 @@
import cgi
from mitmproxy.models import flow

View File

@ -1,4 +1,3 @@
import time
from typing import List

View File

@ -1,4 +1,3 @@
import os
import tornado.template

View File

@ -1,4 +1,3 @@
from typing import Tuple, Optional, Sequence
from mitmproxy import optmanager

View File

@ -1,4 +1,3 @@
import contextlib
import blinker
import pprint

View File

@ -1,4 +1,3 @@
import netlib.exceptions
from mitmproxy import exceptions
from mitmproxy import models

View File

@ -1,4 +1,3 @@
import h2.exceptions
import netlib.exceptions
import time

View File

@ -1,4 +1,3 @@
from mitmproxy import models
from mitmproxy.protocol import http
from netlib.http import http1

View File

@ -1,4 +1,3 @@
import threading
import time
import traceback

View File

@ -1,4 +1,3 @@
import traceback
import netlib.exceptions

View File

@ -1,4 +1,3 @@
import socket
from OpenSSL import SSL

View File

@ -1,4 +1,3 @@
import struct
from typing import Optional # noqa
from typing import Union

View File

@ -1,4 +1,3 @@
import netlib.exceptions
import socket
import struct

View File

@ -1,4 +1,3 @@
from .config import ProxyConfig
from .root_context import RootContext
from .server import ProxyServer, DummyServer

View File

@ -1,4 +1,3 @@
import base64
import collections
import os

View File

@ -1,4 +1,3 @@
from .http_proxy import HttpProxy, HttpUpstreamProxy
from .reverse_proxy import ReverseProxy
from .socks_proxy import Socks5Proxy

View File

@ -1,4 +1,3 @@
from mitmproxy import protocol

View File

@ -1,4 +1,3 @@
from mitmproxy import protocol

View File

@ -1,4 +1,3 @@
from mitmproxy import exceptions
from mitmproxy import platform
from mitmproxy import protocol

View File

@ -1,4 +1,3 @@
import netlib.exceptions
from mitmproxy import controller
from mitmproxy import exceptions

View File

@ -1,4 +1,3 @@
import socket
import sys
import traceback

View File

@ -1,4 +1,3 @@
from typing import Any
from typing import List

View File

@ -1,4 +1,3 @@
import netlib.utils

View File

@ -1,4 +1,3 @@
import base64
import json
import logging

View File

@ -1,4 +1,3 @@
import sys
import collections

View File

@ -1,4 +1,3 @@
import gc
import os
import sys

View File

@ -1,4 +1,3 @@
import re
import collections

View File

@ -1,4 +1,3 @@
import netlib.http.url
from netlib import exceptions

View File

@ -1,4 +1,3 @@
from netlib.http.http2.framereader import read_raw_frame, parse_frame
from netlib.http.http2.utils import parse_headers

View File

@ -1,4 +1,3 @@
import re
import warnings
from typing import Optional

View File

@ -1,4 +1,3 @@
import re
import urllib

View File

@ -1,4 +1,3 @@
import time
from email.utils import parsedate_tz, formatdate, mktime_tz
from netlib import human

View File

@ -1,4 +1,3 @@
CONTINUE = 100
SWITCHING = 101
OK = 200

View File

@ -1,4 +1,3 @@
"""
A small collection of useful user-agent header strings. These should be
kept reasonably current to reflect common usage.

View File

@ -1,4 +1,3 @@
from abc import ABCMeta, abstractmethod

View File

@ -1,4 +1,3 @@
IVERSION = (0, 19)
VERSION = ".".join(str(i) for i in IVERSION)
PATHOD = "pathod " + VERSION

View File

@ -1,4 +1,3 @@
from .frame import FrameHeader
from .frame import Frame
from .frame import OPCODE

View File

@ -1,5 +1,3 @@
class Masker:
"""
Data sent from the server must be masked to prevent malicious clients

View File

@ -1,4 +1,3 @@
import time
import traceback
import urllib

View File

@ -1,4 +1,3 @@
import itertools
import time

View File

@ -1,4 +1,3 @@
import abc
import pyparsing as pp

View File

@ -1,4 +1,3 @@
import itertools
import time

View File

@ -1,4 +1,3 @@
# Silence third-party modules
import logging
logging.getLogger("hyper").setLevel(logging.WARNING)

View File

@ -1,4 +1,3 @@
from .. import tutils, mastertest
import os.path

View File

@ -1,4 +1,3 @@
def mkerr():
raise ValueError("Error!")

View File

@ -1,4 +1,3 @@
def modify(chunks):
for chunk in chunks:
yield chunk.replace(b"foo", b"bar")

View File

@ -1,4 +1,3 @@
def tcp_message(flow):
message = flow.messages[-1]
if not message.from_client:

View File

@ -1,4 +1,3 @@
from netlib.http import http1
from netlib.tcp import TCPClient
from netlib.tutils import treq

View File

@ -1,4 +1,3 @@
import pytest
import os
import tempfile

View File

@ -1,4 +1,3 @@
from io import BytesIO
from mock import Mock
import pytest

View File

@ -1,4 +1,3 @@
import email
import time

View File

@ -1,4 +1,3 @@
import threading
import queue
import io

View File

@ -1,4 +1,3 @@
from pathod import language
from pathod.language import websockets
import netlib.websockets