Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted at DevOpera

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By kristianvsh O anchor 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 anchor Tuesday, 13. November 2007, 15:38:13

avatarI 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 O anchor Wednesday, 21. November 2007, 16:19:04

avatarThe 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 anchor Friday, 11. January 2008, 10:48:53

avatarKristianvsh,

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 anchor Wednesday, 13. February 2008, 11:16:54

avatarHi,

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 anchor Wednesday, 12. March 2008, 14:11:00

avatarOpera 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 anchor Thursday, 13. March 2008, 00:45:03

avatar"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 anchor Monday, 17. March 2008, 19:49:57

avatari 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 anchor Thursday, 20. March 2008, 19:52:50

avatarHello,

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!


Moderators: jax | malware | mcx | operadev