Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jimmyca15/requesttracing #69

Merged
merged 6 commits into from
Feb 22, 2017
Merged

Jimmyca15/requesttracing #69

merged 6 commits into from
Feb 22, 2017

Conversation

jimmyca15
Copy link
Member

This pull request adds the request tracing traces API.

Changes

/api/webserver/request-tracing/http-request-tracing/traces

{
    "traces": [
        {
            "id": "m32IrS8gxJQGybnagJZoOA",
            "url": "http://localhost:80/",
            "method": "GET",
            "status_code": "304",
            "date": "2017-02-21T10:36:54.3711178-08:00",
            "time_taken": "140",
            "process_id": "10908",
            "activity_id": "{800004CF-0000-FD00-B63F-84710C7967BB}",
            "file_info": {
                "name": "fr000001.xml",
                "id": "xHKp6rdw00NDbXqZPnO8BAig2oeXUvLoRLGIIqfebcEt8y1XJUTWtTG5o4kuHl-9wFF4MxuM2DIqFUFz5n7ePQ",
                "type": "file",
                "physical_path": "C:\\inetpub\\logs\\FailedReqLogFiles\\W3SVC1\\fr000001.xml",
                "_links": {
                    "self": {
                        "href": "/api/files/xHKp6rdw00NDbXqZPnO8BAig2oeXUvLoRLGIIqfebcEt8y1XJUTWtTG5o4kuHl-9wFF4MxuM2DIqFUFz5n7ePQ"
                    }
                }
            },
            "request_tracing": {
                "id": "OhAX4SSyiIuj8WqSW1yWFw",
                "scope": "Default Web Site/",
                "_links": {
                    "self": {
                        "href": "/api/webserver/http-request-tracing/OhAX4SSyiIuj8WqSW1yWFw"
                    }
                }
            },
            "_links": {
                "self": {
                    "href": "/api/webserver/http-request-tracing/traces/m32IrS8gxJQGybnagJZoOA"
                }
            }
        }
    ]
}

If the HTTP Request Tracing modue is enabled, requesting /downloads/freb.xsl redirects to a local freb.xsl if available.

Added mime/types to HttpFileHandler, so /downloads and /api/files/content
will now respond with more specific content-types.

Added the ability to view downloads inline by adding the 'inline' query
parameter to the /downloads/{id} path. e.g. /downloads/abc123?inline
@jimmyca15 jimmyca15 merged commit 4083f96 into dev Feb 22, 2017
@jimmyca15 jimmyca15 deleted the jimmyca15/requesttracing branch March 31, 2017 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants