What's wrong with MIME-Version

3 views
Skip to first unread message

Libor V.

unread,
Jan 4, 2010, 3:02:56 PM1/4/10
to RETS Compliance
My servers fail for some weird reason. When asked for an image, they
do response correctly, with a correct MIME-Version, still they fail
for 'Object missing header MIME-Version. , Correct MIME-Version
is 1.0".
Can anyone explain?

here is the excerpt from the downloaded data:

GETOBJECT,115104, Http Post - Headers: RETS-Version: RETS/1.7.2
Accept: image/jpeg, image/tiff;q=0.5,image/gif;q=0.1
User-Agent: RETSConnector/1.0
Params: Type=Photo, Resource=Property, ID=1544073:1 , {MIME-
Version=1.0, Set-Cookie=RETS-Session-ID=inpwyzaz4ytzpqbn1w2w5fnf;
path=/, Content-ID=1544073, RETS-Server=Interealty-RETS/1.5.247.0,
Server=Microsoft-IIS/6.0, X-Powered-By=ASP.NET, Cache-
Control=private, max-age=0, X-AspNet-Version=2.0.50727, Object-
ID=1, Date=Mon, 04 Jan 2010 19:43:28 GMT, Transfer-
Encoding=chunked, Content-Type=image/jpeg, RETS-Version=RETS/
1.7.2} ,
GETOBJECT,115104, Validate GetObject response ,FAIL, Object
missing header MIME-Version. , Correct MIME-Version is 1.0

pob...@ronintech.org

unread,
Jan 4, 2010, 5:11:50 PM1/4/10
to rets-co...@googlegroups.com
Libor,

I thought we saw this false mime-header version error a while ago and what
we eventually discovered was that the server or the db was down.

Andrew/Cathy - can you make certain the server and the database are both up?

> --
>
> You received this message because you are subscribed to the Google Groups
> "RETS Compliance" group.
> To post to this group, send email to rets-co...@googlegroups.com.
> To unsubscribe from this group, send email to
> rets-complian...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rets-compliance?hl=en.
>
>
>


Libor Viktorin

unread,
Jan 5, 2010, 9:02:14 AM1/5/10
to rets-co...@googlegroups.com
I am getting the same error even if I rerun the test. Plus, the search
tests before, and logout tests after this one, work and pass. So I do
not think it looks like the checker's problem. It might well be a
problem on our part, but the checker does not give me any information
about what seems to be wrong.

And BTW, I found that the checker starts the GetObject tests with
requesting "Params: Type=Photo, Resource=Agent, ID=Agent:AGT:1". Is
that some kind of negative testing? We do not have Agent resource, and
of course ID=Agent:AGT:1 is completely wrong. I cannot figure out what
might be tested by this.

LV

******************************************************************************************
This message may contain confidential or proprietary information intended only for the use of the addresses(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter.
*******************************************************************************************

cc...@realtors.org

unread,
Jan 5, 2010, 12:30:20 PM1/5/10
to RETS Compliance
Libor,

I can anser both these questions about the GetObject testing.

1) Why is the GetObject transaction failing on MIME-Version
This is a detailed description of this particular test flow.

a. The compliance test suite uses the RETS server metadata to perform
searches and then GetObject transactions until an object is found.
These GetObject arguments can then be used in other tests.

b. The Compliance test uses this successful GetObject to test that
the Location argument is handled properly. Your RETS server handles
it properly. A URL is not returned but the body of the response
displays this fact with the replycode of 20414.

c. The Compliance test uses this same response to validate the MIME-
Version. This header did not have MIME-Version.

In this specific situation the MIME-Version is missing so the test
fails.

2) Why does the checker start the GetObject tests with requesting


"Params: Type=Photo, Resource=Agent, ID=Agent:AGT:1".

The first thing we test on each transaction is the Header values. The
exact same request is made to each server (depending on RETS realease
version) and the header is validated to ensure each argument is
valid. It isn't really a negative test. The Compliance Test Suite
does not look at the body. This is just a short cut to get the
Header values.


I hope this helps with understanding the results.

Cathy

Reply all
Reply to author
Forward
0 new messages