Mac OS X Files .DS_Store and ._*
--------------------------------

We employ a crude hack to keep the Finder from uploading its crap. This
is admittedly very special case-y but we use Macs a lot...

  >>> from Products.Archetypes.tests.attestcase import user_name
  >>> from Products.Archetypes.tests.attestcase import user_password
  >>> fpath = '/'.join(self.folder.getPhysicalPath())

  Uploading .DS_Store should create a Zope File object

  >>> print http(r"""
  ... PUT /%s/.DS_Store HTTP/1.1
  ... Authorization: Basic %s:%s
  ... Content-Type: application/octet-stream
  ... Depth: 0
  ...
  ... %s""" % (fpath, user_name, user_password, 'xxx\n'))
  HTTP/1.1 201 Created
  ...

  >>> '.DS_Store' in self.folder.objectIds()
  False

  Uploading ._* should create a Zope File object

  >>> print http(r"""
  ... PUT /%s/._Foo HTTP/1.1
  ... Authorization: Basic %s:%s
  ... Content-Type: application/octet-stream
  ... Depth: 0
  ...
  ... %s""" % (fpath, user_name, user_password, 'xxx\n'))
  HTTP/1.1 201 Created
  ...

  >>> '._Foo' in self.folder.objectIds()
  False

