<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Office Monkey &#187; code</title>
	<atom:link href="http://www.office-monkey.com/tag/code/feed/?http://www.office-monkey.com:80/office-monkey/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.office-monkey.com</link>
	<description>Everybody needs some monkey sometime...</description>
	<lastBuildDate>Sat, 30 Jul 2011 05:14:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Gallery Remote 500 Error? Read the code.</title>
		<link>http://www.office-monkey.com/2008/09/05/gallery-remote-500-error-read-the-code/</link>
		<comments>http://www.office-monkey.com/2008/09/05/gallery-remote-500-error-read-the-code/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 06:33:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Creating]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.office-monkey.com/?p=424</guid>
		<description><![CDATA[I&#8217;ve been following the dreadfully incomplete and near-incomprehensible documentation on how to access Gallery2 remotely. It&#8217;s not SOAP, it&#8217;s not REST. It&#8217;s custom formatted form submission. And everything seemed to be working. So I kept going through the checklist of available commands, and then it stopped. 500 server error. No actual diagnosable response. I&#8217;ve updated [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been following the dreadfully incomplete and near-incomprehensible documentation on how to access Gallery2 remotely. It&#8217;s not SOAP, it&#8217;s not REST. It&#8217;s custom formatted form submission.</p>
<p>And everything seemed to be working. So I kept going through the checklist of available commands, and then it stopped.</p>
<p>500 server error. No actual diagnosable response.</p>
<p>I&#8217;ve updated my Gallery2 install to the current release candidate. I&#8217;ve custom built ImageMagick locally. Nothing worked.</p>
<p>Then I came across a small, barely commented bit in gallery2/modules/remote/GalleryRemote.inc &#8212; &#8220;harmless&#8221; get-type operations are permitted. However, anything that attempts to make changes is verified &#8212; against a white-list of USERAGENT strings.</p>
<p>I have no idea who considered THAT a security feature, but adding a new USERAGENT to match my C# library&#8217;s USERAGENT, and everything suddenly works.</p>
<p>&#8220;Open&#8221; Source, huh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.office-monkey.com/2008/09/05/gallery-remote-500-error-read-the-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

