Hello,

on 07/30/2011 09:16 PM Geoff Hoffman said the following:
>     I have already a pure PHP implementation
>
>
> Manuel, didn't you also write whole Mailer library for PHPClasses.org
> and start that site? When do you sleep?

hahah good question. When you work full time on these stuff you do it for pleasure and too bad sleep does not allow you to do more in less time! :-)


> You're speaking to svn server directly from PHP, with stream context or
> exec( ) bridge somehow? I'm curious now.

Actually I am using a long standing HTTP client which uses fsockopen by default but it can optionally switch to Curl for SSL requests.

http://www.phpclasses.org/httpclient

Either way there is at least one SubVersion host on SSL (BeanstalkApp) which is returning error 400 all the time.

https://sschlapkohl.svn.beanstalkapp.com/htmlform/trunk/

Anyway, I just realized if I use file_get_contents (with default stream context) which just sends a simple GET request with one Host: header, it works.

So there is something specific to that Web server that is balking all requests with status 400. I suspect that it is not even related with SubVersion because even GET requests fail.

Just let me know if you have any idea.


--

Regards,
Manuel Lemos

JS Classes - Free ready to use OOP components written in JavaScript
http://www.jsclasses.org/

--

Regards,
Manuel Lemos

JS Classes - Free ready to use OOP components written in JavaScript
http://www.jsclasses.org/

Reply via email to