Add ENTSO-E "Day Ahead Pricing" tariff provider (#9794)
This commit is contained in:
parent
5bdf309d8a
commit
1b8cb72476
12 changed files with 682 additions and 54 deletions
|
|
@ -10,6 +10,7 @@ var (
|
|||
FormContent = "application/x-www-form-urlencoded"
|
||||
JSONContent = "application/json"
|
||||
PlainContent = "text/plain"
|
||||
XMLContent = "application/xml"
|
||||
|
||||
// URLEncoding specifies application/x-www-form-urlencoded
|
||||
URLEncoding = map[string]string{"Content-Type": FormContent}
|
||||
|
|
@ -24,6 +25,17 @@ var (
|
|||
AcceptJSON = map[string]string{
|
||||
"Accept": JSONContent,
|
||||
}
|
||||
|
||||
// XMLEncoding specifies application/xml
|
||||
XMLEncoding = map[string]string{
|
||||
"Content-Type": XMLContent,
|
||||
"Accept": XMLContent,
|
||||
}
|
||||
|
||||
// AcceptXML accepting application/xml
|
||||
AcceptXML = map[string]string{
|
||||
"Accept": XMLContent,
|
||||
}
|
||||
)
|
||||
|
||||
// StatusError indicates unsuccessful http response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue