-
Notifications
You must be signed in to change notification settings - Fork 0
HowTo Debug HTTP Communication
Home > HowTo > Debug HTTP Communication
Various features of dotNetRDF rely on HTTP communication to provide functionality, most of the time this works fine but occasionally you may encounter errors. dotNetRDF provides some helpful functionality to help you debug these errors.
To get basic traces of HTTP requests and responses printed to the Console you can enable the global static option HttpDebugging found in the Options class e.g.
Options.HttpDebugging = true;While most of the time the above will be sufficient to diagnose a problem sometimes you may need to see the full HTTP response in order to see exactly what error messages the remote server is responding with.
To get full response traces for HTTP responses you must have enabled the HttpDebugging property and then also enable the HttpFullDebugging property e.g.
Options.HttpDebugging = true;
Options.HttpFullDebugging = true;Note: When full debugging is used the HTTP response stream is consumed, this may cause dotNetRDF to throw different errors to those normally seen because the stream the code expects has already been consumed.
- Getting Started
- Library Overview
- Hello World
- Reading RDF
- Writing RDF
- Working With Graphs
- Typed Values and Lists
- Working with Triple Stores
- Building SPARQL
- Querying with SPARQL
- Updating with SPARQL
- Exceptions
- Equality and Comparison
- Event Model
- Utility Methods
- Extension Methods
- Using the Namespace Mapper
- Storage API
- Advanced SPARQL
- Ontology API
- Inference and Reasoning
- ASP.NET Integration
- Global Options
- Formatting API
-
Configuration API
- Graphs
- Triple Stores
- Object Factories
- Readers and Writers
- SPARQL Endpoints
- Query Processors
- Update Processors
- Protocol Processors
- SPARQL Datasets
- SPARQL Expression Factories
- SPARQL Operators
- SPARQL Optimisers
- Full Text Query
- Reasoners
- Storage Providers
- User Groups
- Permissions
- Users
- Static Options
- Proxy Servers
- Handlers API
- JSON-LD API
- Tools