-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds HarEntry class which will allow for easier entry parsing * Adds Request and Response sub-classes for HarEntry * Added documentation and added a HarEntry status attribute * Updated docstring and added test for request.cookies and entry header search * Made it so HarEntry, HarEntry.Request, and HarEntry.Response act like dicts * Added Mixins for shared functions * Removed try/except where appropriate * Better MimicDict and New Mixin * MimicDict Class now using MutableMapping * New HTTPTransaction SubClass used by Request and Response * Uses six collections for MutableMapping * Added six to requirements.txt and setup.py * Added convert_to_entry decorator * Added Tests for Firefox and Chrome to make sure future changes aren't breaking * Makes HarPage object iterable
- Loading branch information
1 parent
3680f4f
commit 9b29d4c
Showing
22 changed files
with
21,593 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
language: python | ||
cache: pip | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- python: "nightly" | ||
python: | ||
- "2.7" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
- "pypy3.6-7.3.1" | ||
install: | ||
- "pip install ." | ||
- "pip install -r requirements_dev.txt" | ||
script: py.test --cov haralyzer tests/ | ||
script: py.test --cov haralyzer tests/ -vv | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
""" | ||
Module for analyzing web pages using HAR files | ||
""" | ||
from .assets import HarParser, HarPage | ||
from .assets import HarParser, HarPage, HarEntry | ||
|
||
|
||
from .multihar import MultiHarParser | ||
|
||
|
||
__all__ = ["HarPage", "HarParser", "MultiHarParser", "HarEntry"] |
Oops, something went wrong.