Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@ on: [ push, pull_request ]
permissions:
contents: read

jobs:
lint-pr:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
path: mitmproxy
- uses: TrueBrain/actions-flake8@9a43ff1b2c7b96f3edffc48a49973ce3de116ba1
# mirrored at https://github.com/mitmproxy/mitmproxy/settings/actions
jobs:
lint-local:
if: github.event_name == 'push'
runs-on: ubuntu-latest
Expand Down
275 changes: 137 additions & 138 deletions browserup-proxy.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,143 @@
}
}
},
"Har": {
"type": "object",
"required": [
"log"
],
"properties": {
"log": {
"type": "object",
"externalDocs": {
"description": "HAR (HTTP Archive) Log Format",
"url": "http://www.softwareishard.com/blog/har-12-spec/"
},
"required": [
"version",
"creator",
"entries"
],
"properties": {
"version": {
"type": "string"
},
"creator": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"browser": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"pages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Page"
}
},
"entries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Entry"
}
},
"comment": {
"type": "string"
}
}
}
}
},
"Header": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"Page": {
"type": "object",
"required": [
"startedDateTime",
"id",
"title",
"pageTimings"
],
"properties": {
"startedDateTime": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"pageTimings": {
"type": "object",
"properties": {
"onContentLoad": {
"type": "number",
"minimum": -1
},
"onLoad": {
"type": "number",
"minimum": -1
},
"comment": {
"type": "string"
}
}
},
"comment": {
"type": "string"
}
}
},
"CustomHarData": {
"type": "object",
"minProperties": 1
},
"Entry": {
"type": "object",
"required": [
Expand Down Expand Up @@ -838,144 +975,6 @@
"type": "string"
}
}
},
"Header": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"Har": {
"type": "object",
"required": [
"log"
],
"properties": {
"log": {
"type": "object",
"externalDocs": {
"description": "HAR (HTTP Archive) Log Format",
"url": "http://www.softwareishard.com/blog/har-12-spec/"
},
"required": [
"version",
"creator",
"entries"
],
"properties": {
"version": {
"type": "string"
},
"creator": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"browser": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"comment": {
"type": "string"
}
}
},
"pages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Page"
}
},
"entries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Entry"
}
},
"comment": {
"type": "string"
}
}
}
}
},
"CustomHarData": {
"type": "object",
"minProperties": 1
},
"Page": {
"type": "object",
"required": [
"startedDateTime",
"id",
"title",
"pageTimings"
],
"properties": {
"startedDateTime": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"pageTimings": {
"type": "object",
"properties": {
"onContentLoad": {
"type": "number",
"minimum": -1
},
"onLoad": {
"type": "number",
"minimum": -1
},
"comment": {
"type": "string"
}
}
},
"comment": {
"type": "string"
}
}
}
}
}
Expand Down
82 changes: 82 additions & 0 deletions clients/examples/java/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Created by https://www.gitignore.io

### Gradle ###
.gradle
build/
bin/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

.classpath
.project

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/modules.xml
.idea/*.iml
.idea/modules

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
Loading