Comments (5)
I think that sounds reasonable; only add the headers if not already specified by the user. Most users I would expect to never attempt to set these headers.
from python-redfish-library.
I can understand OData-Version being overwritten; anything other than "4.0" is outside scope of the Redfish spec and can result in undefined behavior.
Accept is a bit more problematic though; while the vast majority of Redfish will require "application/json", there are a handful of cases where that won't be the response (primarily $metadata as well as a few URIs that might result in application/octet-stream). I can understand overriding Accept in most cases though.
from python-redfish-library.
The problem is I can`t overwrite these values, so I cannot verify if a service reacts correctly on not expected headers values.
Do you have an idea how to continue?
Propose such change which would not overwrite these headers when are delivered by user?
from python-redfish-library.
Hi, pull request for this topic is created (#94).
from python-redfish-library.
PR merged
from python-redfish-library.
Related Issues (20)
- Can't terminate a redfish session via .logout() HOT 13
- Problem using skip and expand params HOT 4
- So trying to use the example and I keep getting time outs. HOT 47
- What is the default_prefix for? HOT 1
- Unix socket support HOT 4
- Returned data type from Assembly.bin changed in versioning 3.1.0 HOT 1
- Requirements doesn't list dependencies HOT 2
- InvalidCredentialsError on service unavailable HOT 1
- Issue with initial root object retrieval HOT 2
- Timeout in HTTP Method HOT 4
- Does the library work also with Simulator/Emulator/Mockyup Server? HOT 4
- Need to document "body" HOT 5
- rf_discover.py can not found AMI redfish server service
- can the redfish GET/PUT/POST/DELETE/HEAD method have a timeout option to send a request with a specific timeout HOT 2
- For HPE OEM - What all write operation can be performed on FC card ? HOT 2
- redfish.redfish_client insecure connection HOT 14
- Getting Fans infromation HOT 2
- Redfish exception handling HOT 2
- Getting ServerDownOrUnreachableError with error code 401 for the password containing "$Password" HOT 6
- Suggestion to login again with the same credential HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-redfish-library.