-
Notifications
You must be signed in to change notification settings - Fork 12
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
Multi-Language Support: don't reply with all languages #32
Comments
Why couldn't we use standard HTTP language negotiation using the |
I like this idea... |
I don't. I think we need to be careful what Accept-language has been used
for previously and how it could interfere with our intended use. For
instance, isn't accept-language widely used in APIs to discriminate between
XML and JSON? Isn't that massively used by tools like code generators or
Postman?
In my past experience, we had defined a language xacml+json to indicate we
wanted a XACML request in JSON format. But that threw the Postmans of this
world off.
…On Thu, Jul 6, 2023 at 2:54 PM Alex Babeanu ***@***.***> wrote:
I like this idea...
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPRFP4QHKW2GNZW2LQZ7WDXO4X2FANCNFSM6AAAAAAZXY4MOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
---
David Brossard
http://www.linkedin.com/in/davidbrossard
http://twitter.com/davidjbrossard
http://about.me/brossard
---
Stay safe on the Internet: IC3 Prevention Tips
<https://www.capefearnetworks.com/wp-content/uploads/2017/05/Internet-Fraud-Prevention-Tips-IC3.pdf>
Prenez vos précautions sur Internet:
http://www.securite-informatique.gouv.fr/gp_rubrique34.html
|
@davidjbrossard you're probably referring to the |
Yes, probably, sorry.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #26
Originally posted by baboulebou June 28, 2023
I don't think it's a good idea to reply with all language strings, this could be a huge response and it would probably slow-down the PDP too. Instead, have the client PEP request the language it wants its responses in, and just return that 1 reason string.
==> This requires adding a Language parameter to the request calls.
The text was updated successfully, but these errors were encountered: