Discuss the articles posted on Dev.Opera.
By kristianvsh
Wednesday, 7. November 2007, 09:03:06
Opera Mini request headers
Opera Mini uses a number of custom, unregistered HTTP headers. Most of these are specific to Mini, and are sent in addition to the regular HTTP headers sent by Opera on any platform. "But what are they, and what can I do with them?" I hear you cry...let's find out.
( Read the article )
By goransv
Tuesday, 13. November 2007, 15:38:13

I tried to detect your custom headers on our website. For example the X-OperaMini-Phone-UA request header so we can be able to detect the phone and serve up the right content. Unfortunatley I have not been able to detect these headers. I have tried with: cgi.X-OperaMini-Phone-UA and also cgi.http_X-OperaMini-Phone-UA but no luck!
By kristianvsh
Wednesday, 21. November 2007, 16:19:04

The header is optional, This means it will only be sent if either of these two requirements are met:
- the phone's UA was recognized by the download server when Mini was downloaded and installed (in other words installing with cable or through Bluetooth will not provide this information)
- the phone's UA is exposed to the application by the phone (not all phones do this)
By pype
Friday, 11. January 2008, 10:48:53

Kristianvsh,
X-OperaMini-Features: advanced, camera, folding, secure
Camera - Camera support detected. The user will be able to upload a photo when Mini encounters a file input element (<input type="file">).
How to use the Opera Mini request headers ?
I am trying to make a small page to upload pictures, but in the opera mini 4, the button is frozen.
how enable the button (<input type="file">) ?
maybe? <% Response.AddHeader "X-OperaMini-Features","advanced, camera, folding, secure" %>
Post edited Friday, 11. January 2008, 11:29:49
By roylye
Wednesday, 13. February 2008, 11:16:54

Hi,
I am trying to detect these headers and the X-OperaMini-URL header added in version 3. But traces on my proxy show that the connection is not defaulting to header mode after receiving a 502 to the first http connection attempt.
Regards,
Roy
By pgmglv
Wednesday, 12. March 2008, 14:11:00

Opera Mini sends X-Forwarded-For with the IP address of the phone. But to trust X-Forwarded-For header we need a list of IP addresses of Opera Proxy Servers. Otherwise anybody could add this header to HTTP request. Opera could publish an updated list of proxy servers at some URL that we would load and process once a day.
By franco190453
Thursday, 13. March 2008, 00:45:03

"Opera Mini uses a number of custom, unregistered HTTP headers. Most of these are specific to Mini, and are sent in addition to the regular HTTP headers sent by Opera on any platform. "But what are they, and what can I do with them?" I hear you cry...let's find out."
Have installed OperaMini 4.0 from wap.
Navigation was fine!.
Entered dev.mobi and tried the OperaMini emulator for uploading small files
and the upload button simply does not work!!!.
From my two testing phones SonyEricssonK310i and K310a.
I installed OperaMini 4.0 on both phones and same problem.
HOWEVER, When I use the default browser (NETFRONT) I can
easily upload image files, etc.
What is wrong with OperaMini4.0?
Does not seem to be an installation problem!.
Any Ideas, please!.
Regards
Franco
By nolovelust
Monday, 17. March 2008, 19:49:57

i have started to see local ip passed as last ip in the list of opera mini's HTTP_X-OperaMini-Phone-UA header
By BOSNIABOY
Thursday, 20. March 2008, 19:52:50

Hello,
Im from Bosnia And Herzegovina.
My question is:
WHY HAVE NOT MY LAND ON YOUR list????
1. Select your country.
Its so bad for you and my country! Than one land like Uzbekistan or i dont know, have your support! Its so BAD.
Please report!
By steindor
Monday, 8. September 2008, 14:15:59

I'm with an operator that uses a proxy to insert information of value to the 'cookie' request header (such as the user’s MSISDN, and network type, i.e. 2G or 3G). Now, with Opera Mini this header no longer appears, which causes problems with the services we have that use these values for customizing content.
So... Are your proxies intentionally stripping headers from the original http request? Any way to avoid that?
By gemal
Tuesday, 23. September 2008, 16:25:02

Was does file_system in HTTP_X_OPERAMINI_FEATURES mean?
By kristianvsh
Tuesday, 14. October 2008, 06:39:18

Originally posted by gemal:
Was does file_system in HTTP_X_OPERAMINI_FEATURES mean?
Documentation for "file_system" has been added to the article.
By Hefferwolf
Wednesday, 15. April 2009, 09:45:12

Hi,
has opera changed the order of the "X-Forwarded-For" Header? We are resolving this header to get the real carrier IP for the client connecting, for some weeks now a lot of private ips appeared in our logs and we logged X-Forwarded-For header as passed the OperaMini and we get something like the following:
X-Forwarded-For: 139.7.146.41, 10.235.169.155
which is the wrong order, as the internal IP is last, but it should have been first.
Regards,
Ingo
By oreneingal
Monday, 10. August 2009, 09:40:37

Hi,
We have several mobile portals integrated to the Operator mobile, where the Operator mobile sends the portal MSISDN HTTP headers for example: X-Network-info, X_NOKIA_MSISDN.
When using Opera mini browser the Headers are not passing.
Is there a solution for that?
Thanks in advance,
Oren Ein-Gal